# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcb-proto
pkgver=1.14
pkgrel=0
pkgdesc="XML-XCB protocol descriptions"
options="!check" # no testsuite
url="https://xcb.freedesktop.org"
arch="noarch"
license="MIT"
makedepends="python3"
source="https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="de66d568163b6da2be9d6c59984f3afa3acd119a781378638045fd68018665ef5c9af98f024e9962ba3eb7c7a4d85c27ba70ffafceb2324ccc6940f34de16690  xcb-proto-1.14.tar.xz"
